solve for molarity